<?php

class QuestionDefinition
{
   public $definition;
   public $question;
   public $answer;
   public $solution;
   public $solutionFn;
   public $flags;

   public $templateId;
   public $questionDescription;

   function __construct($definition, $question, $answer, $solution, $solutionFn, $flags) {
      $this->definition = $definition;
      $this->question = $question;
      $this->answer = $answer;
      $this->solution = $solution;
      $this->solutionFn = $solutionFn;
      $this->flags = $flags;
   }
}

?>